sp_min: Flush console at end of main()
authorDimitris Papastamos <[email protected]>
Wed, 7 Jun 2017 11:22:01 +0000 (12:22 +0100)
committerDimitris Papastamos <[email protected]>
Tue, 20 Jun 2017 14:14:01 +0000 (15:14 +0100)
Flush the console so the errata report is printed correctly
before exit to normal world.

Change-Id: Idd6b5199b5fb8bda9d16a7b5c6426cdda7c73167
Signed-off-by: Dimitris Papastamos <[email protected]>
bl32/sp_min/sp_min_main.c

index 73a5d69a49487b081223742add8f349c1723f14c..d27c02331debfb2b0c2c61416258f56cf6f8b5ad 100644 (file)
@@ -8,6 +8,7 @@
 #include <arch_helpers.h>
 #include <assert.h>
 #include <bl_common.h>
+#include <console.h>
 #include <context.h>
 #include <context_mgmt.h>
 #include <debug.h>
@@ -182,6 +183,8 @@ void sp_min_main(void)
         * from SP_MIN.
         */
        sp_min_plat_runtime_setup();
+
+       console_flush();
 }
 
 /******************************************************************************